package com.eiisan.web.feign;

import com.eiisan.base.constant.EiisanServiceList;
import com.eiisan.web.model.dto.PaymentChannelDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;
/**
 * @Description: PaymentChannel Feign接口类
 * @author gragonfly
 * @date 2019/7/17
 **/
@FeignClient(value = EiisanServiceList.EIISAN_SERVICE_PAY)
public interface PaymentChannelClientApi {

    /**
     * 查询所有支付渠道
     * @return
     */
    @GetMapping("/selectAll")
    List<PaymentChannelDTO> selectAll();
}
